﻿

if Col_length('ERPStore_RewriteUrl', 'RewriteOrder') is null
Begin
	alter table dbo.ERPStore_RewriteUrl add RewriteOrder int null
End
Go